package com.biz.primus.ms.sms.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntityPKIncrement;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 渠道
 *
 * @author yanweijin
 * @date 2017/5/30
 */
@Entity
@Table(name = "cmp_channel")
@Getter
@Setter
public class CenterChannel extends BaseEntityPKIncrement {

    private static final long serialVersionUID = 3012339238498422140L;
    /**
     * 渠道码
     */
    @Column(length = 64, nullable = false, unique = true, name = "channel_code")
    private String channelCode;

    /**
     * 渠道名称
     */
    @Column(length = 64, name = "channel_name")
    private String channelName;

    private boolean enable;

    private String token;


}
